home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
Puzzle
/
Cubox.swf
/
scripts
/
DefineSprite_237
/
frame_29
/
DoAction.as
< prev
Wrap
Text File
|
2004-06-30
|
2KB
|
116 lines
if(stage == "1")
{
total = "39";
if(score == total)
{
tellTarget("/star1")
{
gotoAndPlay(2);
}
}
}
if(stage == "2")
{
total = "41";
if(score == total)
{
tellTarget("/star2")
{
gotoAndPlay(2);
}
}
}
if(stage == "3")
{
total = "42";
if(score == total)
{
tellTarget("/star3")
{
gotoAndPlay(2);
}
}
}
if(stage == "4")
{
total = "39";
if(score == total)
{
tellTarget("/star4")
{
gotoAndPlay(2);
}
}
}
if(stage == "5")
{
total = "35";
if(score == total)
{
tellTarget("/star5")
{
gotoAndPlay(2);
}
}
}
if(stage == "6")
{
total = "38";
if(score == total)
{
tellTarget("/star6")
{
gotoAndPlay(2);
}
}
}
end = "OUT OF A POSSIBLE " add total add " POINTS, YOU SCORED " add score add ".";
if(score == total)
{
tellTarget("star")
{
gotoAndStop("A");
}
dial = "CUBOX MASTER";
}
else if(total - "5" < score)
{
tellTarget("star")
{
gotoAndStop("B");
}
dial = "EXPERT PLAYER";
}
else if(total - "10" < score)
{
tellTarget("star")
{
gotoAndStop("C");
}
dial = "BEGINNER";
}
else if(total - "15" < score)
{
tellTarget("star")
{
gotoAndStop("D");
}
dial = "NICE TRY";
}
else if(total - "20" < score)
{
tellTarget("star")
{
gotoAndStop("F");
}
dial = "...?";
}
else
{
tellTarget("star")
{
gotoAndStop("over");
}
dial = "GIVE UP";
}